﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;

using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data.SqlTypes;

namespace StockMentor
{
    static class ApplicationManager
    {
        public static SqlConnection conn;
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
      
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            
            conn = Conexiune.InitializeazaCnx(StockMentor.Properties.Settings.Default.dbStockMentorConnectionString);
            Conexiune.DeschideCnx(conn);

            Application.Run(new frmMain(conn));
        }
    }
}
